<template>
  <div class="tabbar">
      <router-link to='/home'>首页</router-link>
      <router-link to='/shop'>购物车</router-link>
  </div>
</template>

<script>
export default {

}
</script>

<style lang='scss' >
.tabbar{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;
    line-height: 50px;
    display: flex;
    justify-content: space-around;
    background: white;
    .router-link-active{
        color:red;
    }
}
</style>